package com.zhuxulin.lottery.info;
/**
 * 所有可用的API名字枚举
 * @author ZhuXulin
 *
 */
public enum Info {
	/**
	 * API名字:/api/Phone/login;<br>
	 * 请求格式：/api/Phone/login?username=username&password=password;
	 */
	URI_LOGIN {
		@Override
		public String toString() {
			return "/api/Phone/login";
		}
	},
	/**
	 * API名字:/api/Phone/order;<br>
	 * 请求格式：/api/Phone/order?date=" + dateP + "&company="+ companyP + "&number=" + numberP
	 * + "&username=" + userIdP+ "&password=" + this.passwordP
	 */
	URI_ORDER {
		@Override
		public String toString() {
			return "/api/Phone/order";
		}
	},
	/**
	 * API名字:/api/Phone/getOrder;<br>
	 * 请求格式：/api/Phone/?orderNumber=" + orderId+ "&username=" + this.loginName +
	 * "&password="+ this.password
	 */
	URI_GET_ORDER {
		@Override
		public String toString() {
			return "/api/Phone/getOrder";
		}
	}
}
